Reports fix

Fixed a SQL issue with retreiving reports by correctly checking if the
ReportText field is null or empty.