Extend line on top of the other lines

I am trying to extend a line, but for some reasons, it does not select the line that I am aiming to extend; instead it selects the line below the aimed line! Please advise.