Fixes MemoryFlowRepository.Save semantics. Flow must have identity before it is saved.