Could you post all relevant profile and task descriptions?
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).
It looks like all you need to do is go into the task edit screen for the 'Detector' task. In the lower right tap the 3 slider icon (task properties). Set the task collision to 'abort existing task'. Then every time the profile triggers it will kill the existing task iteration and start a new one.
Of course it will turn the light on every time as well. However since it is already on hopefully that will not be a issue.