Anomalous effects in photoelectron spectroscopy. The third electronic state of HCN