filter returns a “filter object” in Python3, not a list directly as in Python2

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1072940#c18
Merge pull request #30 from mike-fabian/fix-bug1072940-comment18

filter returns a “filter object” in Python3, not a list directly as in Python2