Are you sure resolvedVersion is always a resolved version, not a range?