Correct bracketing of where clause when struct arrays are used as restriction

The following relvar wasn't translated properly into SQL due to a missing parenthesis when `keys` was a structure array:
```
relvar & 'field = 1' & keys
```