Fixed bug with nextRunAt calculation.