Fix py3k filter.