Did Bergdahl deserve to be rescued?

The deal that won the release of Sgt. Bowe Bergdahl was immediately criticized on several grounds: that the five Taliban detainees swapped for Bergdahl were too dangerous to release, that the deal granted political legitimacy to the Taliban and that