Fixed inverted boolean bug.