fixing cache miss which caused records to be materialized twice, once on create, once on materialize