implemented filter_years on ORM level