FIX: Workaround for integer hashing

Force conversion to integer for missing values when
they must be integer to avoid hash errors on 32 bit
platforms.

closes #8968
maybe put this as ``2147......L`` e.g. long?

can you test somehow?