Force the cache to use hashes of tuples as keys as some s and axes were not hashing to the same value.