Replaced intersection test with new one.