Fix always matching regex probes

Reverts a part of 708c3b0177
The reverted change made regex probes always match.

I didn't follow the loop logic/magic, but this fixes the issue for me.