Removed " == true" from if statements.

I only checked 1 example manually that it still works after doing this.