Fix the line number returned for a code context