Even-odd effect in graphene valley filter