Fix an issue with null networkmonitors.