Update quadtree_spatial_provider.cc

Fixed a logical error that was causing some bad iterators.
Merge pull request #608 from rcythr/develop

Update quadtree_spatial_provider.cc
Merge remote-tracking branch 'anh/develop' into develop