Several undefined indexes in reports

Signed-off-by: emanuele <emanuele45@gmail.com>