Repair continuous taking double the entry quantity

I have an entry condition where the number of lots is decided like (10000 / Ltp) - This works fine
But when my repair continuous condition is met the quantity is taken as 2X of entry quantity
I am using quantity from traded instrument

Can anyone help me what i am doing wrong here?

this is fx used in “Lots” section