Fix cache behaviour when multiple requests occur with different type-sets.