monitoring/commands: Fix remove commands in the list comments and list downtimes views

refs #6593