Fixed a bug where you could delete a flow that did not exist