Much better way of handling lastUpdated invalidation.