Fixed issue with category editting,