[ASFXNB279] make the filter deal with non-scalar scalar

if someone (sigh) passes in a non-scalar scalar to filter, let's nto
blow up
Merge pull request #25 from dwsla/ASFXNB279

[ASFXNB279] make the filter deal with non-scalar scalar