Fixes issue(s) in saltstack/salt repo issue #11096

Simple fixes for the issues in #11096 of saltstack/salt:develop

Note the iptables.insert specific fix is just that - specific to insert. I'm going to check if the same issue/fix would apply to the other operations as well... if so I'll submit a separate pull request.