Did the US plant the seeds of Jordan's deal with ISIS devil?

Bergdahl and Cuban deals loom over the uncertain Jordan agreement to a prisoner swap with ISIS