Refs #3633 - change if statement