spell couchdb_toQuery properly