fixed search bug that i caused
Merge pull request #57 from joh641/bugfix/inventory_search

fixed search bug that i caused