SOLR-7989: After a new leader is elected it should change it's state to ACTIVE even if the last published state is something else