Table models work but undo does not

Throws undoable error