Fix coverity issue. Refs #9084.
Minor type consistency improvement. Refs #9084.