Fixed a line of code that was stopping the monitoring server from working correctly.