Fix sub table double rendering