Fixed check_chain in modules/iptables.py