Fixes #7 Bug with periodic services.