Fix mass assignment when editing category.