[#31039] Error when a 'Manager' deletes a category. (Fix #1203)