Did you read my comment about missing a = sign in my method?

Thanks, yes, my implementation included the correct comparisons from the start. I have compared/verified it with other implentations on the net.

It is odd that the Windows regions implementation also has the same issue with the same parameters.

I am not sure what else to check unfortunately.