Solar and magnetic control of minor ion peaks in the dayside Martian ionosphere