(ITS#8313) crash in mdb_rebalance(): uninited cursor flags