[1.6.x] Fixed typo in previous commit; refs #21490.

Backport of 03bc0a8ac5 from master