A bad lawyer can short circuit the whole deal.