Fix reversed logic in 2240977.  Refs #11939.