better parsing information object class sets
diff --git a/libasn1fix/asn1fix.c b/libasn1fix/asn1fix.c
index 124576f..2cdf527 100644
--- a/libasn1fix/asn1fix.c
+++ b/libasn1fix/asn1fix.c
@@ -339,18 +339,18 @@
 	RET2RVAL(ret, rvalue);
 
 	/*
-	 * Parse class objects and fill up the object class with data.
-	 */
-	ret = asn1f_parse_class_object(arg);
-	RET2RVAL(ret, rvalue);
-
-	/*
 	 * Resolve references in constraints.
 	 */
 	ret = asn1f_recurse_expr(arg, asn1f_resolve_constraints);
 	RET2RVAL(ret, rvalue);
 
 	/*
+	 * Parse class information object sets.
+	 */
+	ret = asn1f_parse_class_object(arg);
+	RET2RVAL(ret, rvalue);
+
+	/*
 	 * 6. INTEGER value processed at 2.5.4.
 	 */