Fix issue where arrows in import cycles were backwards.