Trying to fix operators and aggregation errors
Aggregates in sub queries are working now
Some bug fixes and features added