Bug fix on subclassproperty

- Bug : when searching for multiple leaves that contains desired
  properties, the algorithm was picking branches that should not be
  considered (because they do not contains data to build a instance of the
  property)
- Fix : when the algorithm reaches a leaf and some compulsory properties
  are still missing, it does not pick this branch.