Recover lost duplicate-attribute check in XQUP.