fix cache invalidation in the case when record was fetched NOT from cache