Fixed segmentation fault on QMIBTree destructor