How are hyenas closer to cats?!?

Hyenas are actually much more canine-like with non-retractable claws and enlongated skull-structure. Even mongoose and civets are more caniformia. Viverrine are prehistoric carnivora related to dogs, as well as cats.
But what makes Hyenas in "feliformia" instead of "caniformia"?
3 answers 3