Fixed bug with wrong mapping of ReadQuorum for Cloudant queries.
Simplify.