fix monitoring

Removes stray if statement that was improperly left over during recent
code changes and should have been removed.  The "monitoring -on"
scenario will be broken until this fix is made.
Merge pull request #2646 from ejarvi/dev

fix monitoring