Fixed inserting single quoted texts from the EHR server