Fixes a couple of misplaced parentheses that were causing errors