fix for issue #1819 tableview infinate loop
Merge pull request #1820 from BlairDuncan/TableViewCursorInfinateLoopFix

fix for issue #1819 tableview infinate loop