Fixed a bug that occurred when opening a table with no features