Fixed bug in oxide_type which returned an oxide type for O2.