Fixed bug in passive_IR.py (detector_delay used to have an effect
only if the detector returned False)