Fixed sunriseHandler

Corrected a problem that would have prevented the lights from turning off if sunset occurred and it was already light according to the light measurement.  However, lights would have turned off at the next report from the light meter.