This commit changes two lines but fixes the replacement of cased
placeholders with non-cased ones that was accidentally happening.
This was partially fixed in a few previous commits, but not fully as
it was still replacing failed placeholder matches.