Fixed btree corruption bug.
Merge branch '986_btree_corruption_bug' into next
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next