Fix calls to purge queue