Fix broken dependency processing.