Fix short-circuit test logic

refs #15303