I just discovered another way that line numbers are not displayed correctly.
With line numbers visible. Press Cmd-Option-L to hide line numbers. Then press Cmd-Option-L again to show them. When I do this the line numbers always start at 1 regardless of where I currently am in the file.
Anyone else seeing this?