added filter to prevent extremely broad match patterns