Fix sync guid check