Added validation for the dynamic table.