refs #9022 Incorrect comparison fixed