Fixed a source code error. Refs #9766.