Fix search functionality.
Merge pull request #9 from rjackson/fix_search

Fix search functionality.