Prevent deletion of purchased jobs [PD-877]

All tests pass.