Fixed an error which disabled tables after removing the row.