Fix issue with ordering of formbuilder tabs on duplication.