It should detect that kind of loop, and does here.
(Those junctions usually block direct access as well; are you running with UAC turned off or similar? It should detect the loops either way, but the way the junctions are permissioned by default makes loops even less likely to occur.)
That also isn't the best way to restrict search depth or exclude a folder. See How to filter items by location or sub-folder