Fixed bug with final leg paying out twice