Spanish Linguistic Focus not working all the time with Direct Speech

Hi, I just found out that the Direct Speech option when I am working in Spanish does not always detect speech.

I have changed the preferences for scrivener to detect Spanish em—dashes but it does not work when there is dialogue in the middle of a sentence, I am attaching a screenshot of this issue.

Thanks!