REL-2059: Fix faulty comparison of enum options in Obs objects.

This is a fix I need to get some other (unrelated) tests working I was originally working on.. Side effects on QPT should be minimal because options are mainly used for informational purposes (displayed as properties for the selected observation). This is probably also the reason why nobody noticed this.