Minor changes to purge job