[HTELE]: fix little bug in min/max altitude calculation