Filtering empty or disabled ports