WP-3279 Added update to delete some field instances from Workin' Paper CT
Move purge to outside the loop. Other minor changes.