GH #258 - Correctly create/edit interval-based jobs.
GH #258 - pyflakes fixes.