fix ports with dashes (-) not showing their monitoring status, RT#14926