Fixed a problem with sub selects in binary operators

There were missing braces for sub selects in expressions like

tab.id == select(max(tab.id)).from(tab).where(true)