Update quadtree_spatial_provider.cc

Fixed a logical error that was causing some bad iterators.