Fix incorrect line jump detection logic

Really fix #103.