Revert "Don't pointlessly loop for ~200 iterations just to compare an integer."

This reverts commit f2108a180e35ed67c525ec470d256311da07da6a.

I need to look more into this, but the changeset introduced segfaults in iptables.