Fix panel_detectors index error.