Fix cache_key for array_prod