Fixes to purge recursion.