Fix the mess with previous revisions in contributions

Bug: 64867
Change-Id: Ifc705bed4ca4d1860c3160baed5f114be23f34d2