added a condition in the find method to handle http 500 requests. Also, the  value needed to be passed to the addListener callback.
Merge pull request #1 from cegrif01/master

added a condition in the find method to handle http 500 requests. Also, ...