FIXME make commeting work

Use range instead of xrange
Clone exhausted filter objects