BZ 984004 - Adding more than two workflow pattern breaks the editor