Fixing the if condition in get_report_data

Signed-off-by: Umair Khan <omerjerk@gmail.com>