Bug fix on subclassproperty

- Bug : when searching for multiple leaves that contains desired properties, the
  algorithm was stopping even though there was still leaves to find
- Fix : the object that contains properties to look for was cleared when
  the last property was found. Now, this object is copied in order not to
  tamper with the object in the calling method and thus the search can
  continue