Set unit price earlier to prevent wrong comparison
Merge pull request #1163 from umpirsky/fix/item-resolver-set-unit-price

Set unit price earlier to prevent wrong comparison