Fix logic error in iptables.append