Refactoring: got rid of a couple of parentheses

The code looks a bit more idiomatic now. Also, `if`s and `()`s are evil :)