Delete all versions when deleting criteria