Added check for gps.altitude before committing to a cutdown