Correct a bug in the group dependencies resolving algo. No more known bug.