Set first timestamp if it isn't already set
Only flush after all components have been persisted