Bug fix with QuadTree

Sometimes the southern neighbor of a quadtree was the quadtree itself.
Fixed.