Rebuilding btree from leaf pages works now.