Fixed bug in faulty detector report

The last detector in the comma-separated list was sometimes not showing.