Fixed hash check in the Shadow hashmap.