Conditions for transition not met.

I have a bunch of files with "AM" in their title. I change state and this condition evaluates the files:

And yet when I do so the vault window looks like this:

Why isn't the condition working properly?

Thanks!

SolidworksSolidworks Pdm/enterprise Pdm