RP-2097: fix error after select product already exists