Fix bug that prevented new categories from being saved. Ugh I hate small mistatkes