Fixed a few bugs with product searching