Fixed a crash in runIntervalExecute when limited by time and there's only one event detected, and it's out of time (Nicola)