Fixed dependency version validation