Sentry issue #22472 Add null check to detect when a line is deleted. e.g. upon deleting the last line.