For me:
osm.org/way/310851331 is part of relation osm.org/relation/4156017 => nothing to do. Or I did not get your point.
osm.org/relation/4156020 could stop at the beginning of osm.org/relation/4156017