[BUGFIX] Avoid undefined index error on single function report