A study of the stability of a nitrogen-selective thermionic detector