Fix bug in phg altitude display logic