Edit/select all with same text properties : unreliable

I’m trying to use edit/select all with same text properties to tidy up all my text but I’m getting mixed results. Often the highlighted elements only have the font in common (not even the font weight) or font size. This makes this feature completely pointless and I’m now having to check everything manually.
Is there a solution?