Fix indexing of table for new hash function.