Trim space from last error
GetLastQuery does not show the Group by queries