Fix typo. Also add filter part to fractions2.py.