For ENG-4396, do the same murmur3 long hashing cleanup in the EE.
Fix casting errors pointed out by Ning