Before the vote, the governing Liberal party ditched its traditional allies to strike a deal with Hanson’s party to swap preferences - a measure in Australia’s voting system designed to help both parties increase their presence in the new parliament.