Fixed errors when on report when no data exists