Analysts herding: when does sentiment matter?