Filtering algorithm for drop-down activity list