Fix a bug of not being able to specify filter nick in Python 3