I am using couchdb adapter with sails js. Updating model's with primary key set as string gives the following error. .findOne() requires a criteria