Fixed xml indexes from databasefile definition