Fix token validation mistake