Allocated functions / state fragments duplication

Following the Toy Catapult tutorial, I found that some “allocated functions” have been duplicated (even triplicated) when I arrived to “Exchange Scenario”.

Then, at “Functional Dataflow” definition, there is no a clean path as it is interrupted showing different paths.

This way there is an interrupted path breaking the functional chain.

What could be the root cause?
Is there any method to merge duplicated functions?