Fixed some text issues caused by search-and-replace.