Fix bug where a workflow with no steps or tasks wouldn't save