Don't die when the editing document contains a table with no rows; fixes issue 176.
Don't die when the editing document contains a table with no rows; fixes issue 176.

enaeseth/loki,enaeseth/loki,enaeseth/loki