Fix typo in checkAttributesDependencies

- wrong variable use
Merge pull request #193 from stavamichal/fix_typo_in_checkAttributesDependencies

Fix typo in checkAttributesDependencies