Filter duplicate versions on dependencies#index