fix bad condition in prv_find_object()
Merge pull request #6 from kartben/issue-3

fix bad condition in prv_find_object()