add parentheses around '&&'
Merge pull request #137 from darealshinji/patch-2

add parentheses around '&&'