* Bugfix to the purge routine.