Fixes search example
Merge pull request #5 from nickjanus/searchfix

Fixes search example