Fixed XML output for MonitorTask.

"TerminatedApplicationOperation" element was used instead of
Related to issue karlitrotski/CodingSpectator/#29.
@cinai has identified the problem.
@sesanchez has helped us to explore the code and find out the solution.