Fixed check when adding a non-existant pun.
Fixed partial word match replacement issue.