Fixed updateAll inserting dupe entries in xmldb