Prevents crash when last location is unknown.