Minor edit to incrementHash()