Fixed weird boolean issue.