[1.5.x] Fixed #20146 -- Updated removed_tags example

Backport of e5d252f5b9 from master.