Add bugfix for unpacking scalar long value

Should be the same as an integer type.