Fix bug: user cannot remove categories from a page