Fix the earlier hack.
Merge pull request #150 from jmiettinen/jarkko-11426

Fix the earlier hack in TableDataView.