Fixed an issue in sales and purchase export to Excel which caused the data to be exported in wrong columns.