Add check for mongo 2.4 before accessing btree values.