Group by alias to remove remote possibility of duplicate aliases added programmatically.