Code for making the message correct.

refs #31326