Core: Just use previous altitude if it's a item that makes sense

Fixes #1258