Fix sequence diagram creation