Evidence of pre-edge inner-shell ionization in photoion spectra of atoms and molecules