Fixes dependency numbering (using the hat range)