Fixes category delete alert bug