[rtree] Fixed assertion