Fix single quotes and parenthesis entries in dictionary

- Certain single quote entries didn't work. I added some logic so that
  they worked how you'd expect them to. Previously there was no output.
- Parenthesis also did not output. Now they output such that one is open
  parenthesis, and with an asterix added it is a close parenthesis.