Fix percent % brackets matching in visual mode

Please put brackets around comparisons, like:

```python
if (region.size() > 0) and (region.b > region.a):
```