Implementing class year filter