Fix mincostflow bug (TL when flow is found)