Strange issue when reading Fan tacho using pulseInLong()

Why do you think filtering is needed. Is your wiring crappy?
Show us.

Did you see the Fan RPM page on this site.
Leo..