AP_NavEKF : improve logic dealing with lack of flow or range data