Fix display networkdiscovery state. closes #1958