Remove redundant function call when removing a category