PIM-1393 : fix edit variant scenario