BUG Fixed quoting of some table and column identifiers
Fixed incorrect encoding of parameters in query conditions
Replaced removed API calls
Bug fixed incorrect handling of relation group condition