EditCategory: check valid category found; h/t shadowdare