Database Purge Job Failing After Upgrade