Fixed issue with section not being set when replacing elements in a table definition.