Fixed bug #12068: Scheduler: Improper skipping of running tasks in case multiple...