Refs #4087, fixing logic error.