Added some fixes to the product adding process.