PurgeCommand now works correctly, fixes #43