fsm: Proper subclass and superclass check in ni_ifcondition_type()