Fixed empty results for report viewer.