Fixed issue with extension elements and attributes multiple occurrences with same id