fixes coloring of incidents in report

Also fixes Name matching for IDs in new report form.