Fixed a bug that led to execute the last job in case there were only one-time jobs