Fix alias for aggregate functions.