Category editing fixed related to getting always the object when editing