Changed from using ordernumber as identifier in imagetable and product
tables