Fix issue with MPD not valid report generation

When MPD was not valid, the HTML report was not being generated, when the tree icon with the issue was double-clicked.