Switched around condition to be correct.