Select the tool used to draw the line and try selecting again. It should work as you expect.
Check grid snap isn't on, as this can disrupt selection.
It is also worth double-checking that the two lines are definitely sharing the same node point. Sometimes if for some reason they are a micron apart, you get the behavior you describe.
Try redrawing the lines afresh and re-checking.
Hope that helps.