Fix navigation to first error

Regression from 5136836