Filtering query based on funding years