[BUG] Getting contours on layered grid graph causes inifinte loop

Hi there @aron_granberg ,

I saw another post in the past that was similar to my issue ([Bug] Infinite loop while getting contours) but I am still having this issue even though it looked like it was solved?

Anyways, my issue is using GraphUtilities.GetContours on a layered grid graph in a very basic scene and whenever I run it unity just runs forever and looks like it is going through an infinite loop. I have an example unity project I prepared to reproduce the issue, what might be the best way to get it to you?