Actions processing: finer handling of deps among versions

Fixes  #1778