[misc] Fix relevant error marking, if the first error is the relevant one.