fixes #318 so we can now either delete or purge a queue