One rule is giving the file a wrong name

I have 5 accounts at the same bank. I've written Hazel rules to move and rename all of them. All but one of the rules is working perfectly. The one that isn't working is giving the file the name of one of my other accounts. The file should get named xxBank Repo, but instead it gets named xxBank Main, which is the name another rule gives to the main account. I can't figure out why this could be happening. I have gone through all my Hazel rules thinking there must be another rule where I made a mistake that is grabbing the file first and naming it that, but there isn't one. Here are pictures of the rule setups. The one for the main account works right and names the file main. The one for the repo account does everything else it's supposed to except it also names the file main.


