Scanning a triple quadrupole mass spectrometer for doubly charged ions