Changed FlowParser to always include a transition for COMPLETED unless a next attribute is present