Better filtering for repositories