Bugfix in PortsMatcher involving iterator.