Fixes #5778 - make sure that we always execute the planned tasks
Merge pull request #53 from iNecas/bug/5778

Fixes #5778 - make sure that we always execute the planned tasks