On the extraction of positive and negative ions from electron-beam-generated plasmas