Fix issue with auto table layout when cells have multiple fragments. Fix...

...es some layout issues related to #2554.