replmd: check duplicate linked attributes