fix UL generation when first in a fragment group
Merge Groups and fix on ul serialization