You also need to be checking the hash-max-ziplist-value here.