crude fix for error handling bugs
Fix marking sentences as badly segmented.