On the extent of the Martian ionosphere