Fix typo in checkAttributesDependencies

- wrong variable use