Fixed search

When a barcode is not in the database the search use to blow up now it
will not.