fixed: if group by on db join element using concat labels, and also a sum query performed, then sum query was not working as concat was being incorrectly quoted