BUG/PERF: Fix and speedup pure-Python fallback for C filter.

Closes #15