[ticket/11956] Check for children elements in tables

PHPBB3-11956