Added node amount based filtering