Fixing issue where no data is displayed.