Fixed an issue with cardinality formula variables...