Ported from 4.1.5 for fix to TRQ-1624. Deletion of stray jobs.