checks for existence of keys before deleting with non-admin users