Change hashCheck to return shallow copy