Fixed call in pouchdb_sync that caused us to crash
Merge pull request #26 from yaronyg/master

Fixed call in pouchdb_sync that caused us to crash