checking for empty return in upsert readByQuery to remove warnings
Merge pull request #12 from jpcampbell/master

upsert handling of empty response.