Improved aggregate by scidb array when attribute names conflict