Replace with single-call to LastOrDefault