Use resolved dependency when fixing corresponding direct