Refs #14361; fix small edge case caused by copy/paste code