Spatial index: avoid uneccessary db destroy at reset tree