Fix Manual execution of scheduled jobs bug