Fix generating anonymous table elements