Session target only for compile group in bar, for everything in menu

I have my session targets set to include everything, my project targets to include only things in the compile group. Everything works fine if I look at the project targets from the menu, and my “session target met” shows up at the right time. But, if I just mouse over the bar at the top, both the session target and the compile group target only take into account things I’ve written in the compile group. I’m not sure why it works in one place and not both!

Also, it seems to only happen sometimes. I just closed and re-opened the project and now it’s working properly, but this isn’t the first time it’s happened. I should mention that I use OneDrive to save my projects, though the last few times I’ve opened it have all been on the same computer.