Fixed missed classid conditions in the dependency check.