Improve long rank filter example