Fall back to diagnostic location if the first diagnostic range appears to be invalid