Because even as her world falls apart, there is still one thing that will keep Hermione Granger fighting
Hermione thinks it is time to put an end to the whole House rivalry thing. Ron and Harry don't agree, but you never, ever tell Hermione Granger that she can't do something, because you are just going to have to eat your words.
When Hermione Granger seems to be drowning in her own insecurities and self-doubt, who will be the one make her see herself with different eyes?