Fixed hash check