[FIX] XQuery Update: duplicate name check limited to attributes