It seems that there is something like an off by one error in the part that add the merged journey patterns to the marey diagram. 