Use itertools filterfalse from future module for python2 compatibility