TST: Failure case for rank_filter.
BUG: Fix passing of origins in rank_filter.
Merge pull request #2923 from poolio/master

BUG: Handling of origins in rank_filter.