Fixed bug where Report Title and Query Title strings were not being escaped properly