Fixed bug when exporting aliases of each field in a selection