Removed excess bool variable assignment in `if`s
Merge pull request #12 from temoto/patch-1

Removed excess bool variable assignment in `if`s