Correctly parse partially covered lines.