allow long (e.g. 10L) filter length

For some reason, I hit a case where `filter_length` had type `long` (e.g. `22034L`) and this `isinstance` test fails, so I included `long` as a valid length type. I can't imagine filter length should exceed `int` capacity, but it doesn't seem necessary to coerce.