BUG: Fix passing of origins in rank_filter.