fixed check for an empty list of objects after filtering
Merge pull request #12 from qbio2014/ignacio

fixed check for an empty list of objects after filtering