The delay to wait for the gps was wrong,
t < initial-gps-delay, should be
t > initial-gps-delay then isTimeWindowForMovementExceeded() return true
Merge pull request #1332 from garvankeeley/motion-detect-fix-initial-delay

Motion detect: The delay to wait for the gps was wrong,