Flipped all if statements.
Merge pull request #1 from jakon89/dev

Flipped all if statements.