Fixes multiple firewall ports not being set correctly through form. Fixes #1282