Fix for different types with the same value giving the same hash, such as "1" and 1