Bug fix in testreduce old/new flagged result output

* The no diffs case wasn't being handled properly. The xml output
  was broken and would show up as errors in the browser.

Change-Id: Iec5bc71e8e614447ca08ae73b2eed8864f5fb0f4
Merge "Bug fix in testreduce old/new flagged result output"