Fix expansion of operators 'src_port', 'src_portrange' and 'dst_portrange'

The expansion of some port operators was wrong (copy&paste antipattern).