PIM-2722 : fix the edit category scenario