Slightly unfortunate but prevents an issue with weirdly overlapping diagnostics causing the cursor to bounce between them