Fixed inverted condition in last commit (refs #90)