Updated the xpath for recordType