Fixed KAT parsing when garbage rows are inserted. Fixes #78