I'm actually not sure we want to fix that: the fact that we don't obtain the same hash in both instances is actually a good property for security.