Canada’s second largest airline, WestJet, has agreed to a tentative agreement with flight attendants to end a strike that led to hundreds of flight cancellations and thousands of stranded passengers. The union representing the flight attendants said Monday that if the deal is ratified, the work that flight attendants do before flights take off will be recognized. The union, CUPE 8125, said that flight attendants will be returning to work now that the strike is over. A key issue in the dispute was how flight attendants should be paid for duties performed while still on the ground. Last summer flight attendants at Air Canada, the country’s largest carrier, stranded more than 100,000 travelers during peak travel season with a strike partly over the same issue of unpaid groundwork.