Merge branch 'release-0.4.12'
Refactored to address bug that truncated more than one pending job and lost them into neverland.
Version bumped from 0.4.12 to 0.4.13
Merge branch 'release-0.4.13'