CanDelete loads the whole filter into the struct. xorm turns every non-empty field into a delete condition, so a filters JSON that does not re-serialize byte for byte silently matches nothing while still returning success.