Hi Samlight-9356 , If I am not wrong, in this line, "<Select Path="System">*[System[EventRecordID>=164643]]</Select>" you used EventRecordID>=164643 , as you are using Query in XML format you should not use ">" operator as it denotes the closing tag in XML. Find the Correct option instead of using ">" may be like "<".
If I am right mail to this email id: skscience.kk@Stuff .com
Thank You.