Delta undermines Dunedin's credit rating