Fix bug with titles with single quotes