PIM-1180 : fix add optional attribute to a product history issue