In 'If' activity the BPEL editor allows to add 'ElseIf' after 'Else'. So, the result is something like
By doing this, the editor displays diagrams in this order (and also this order in in source). But when you close and reopen the bpel process the editor shows
but the source includes the previous oder.
This can be confusing since the editor shows something which looks good but in fact it is not.