Query option, The sql for field to allow groups option.
The simple commit help abundantly and allow us to grouping the custom queries.
When the available filters is added with the field name, the check already exists for sql field statement.
Another check is added when the field is added with grouping.
Please update this patch in the core.