Fixed bug in comparing XML elements with same content but different name