Fix navigation between previous and next error