Fixup cursor search optimization in WiredTiger.