Account for spelling error targets when replacing

Fixes #12