fix issue spotted by BinarySplit1 on irc.
fix issue spotted by BinarySplit1 on irc.

benoitc/couchdbkit,sirex/couchdbkit,ghickman/couchdbkit,benoitc/couchdbkit,sirex/couchdbkit,ghickman/couchdbkit,benoitc/couchdbkit,ghickman/couchdbkit