Fix issue #238. Restart jobs after changing count