Fixed IntersectionComparator so that it's no longer stupid.