hex() is stripping output of leading zero which can lead to wrong GUID and wrong compare between blob GUID and MK GUID.
E.g : 6f48f047-91-4922-b0c2-39d99bd99c81 instead of 6f48f047-0091-4922-b0c2-39d99bd99c81.
That's a quick fix, maybe it would be better to use format()
hex() is stripping output of leading zero which can lead to wrong GUID and wrong compare between blob GUID and MK GUID. E.g : 6f48f047-91-4922-b0c2-39d99bd99c81 instead of 6f48f047-0091-4922-b0c2-39d99bd99c81. That's a quick fix, maybe it would be better to use format()