Fixed nasty reference issue in categoryService