Events category edit bug fix