Changed rules for table editing.