Level Up - Allowed Misses

I’ve tried a few of the “Level Up” levels, and I often complete the level missing the amount that I’m supposedly allowed to, but I can’t progress on to the next star level. For example, I just attempted the second star level 5-3 and got 2 misses, and it says I’m allowed two misses, but instead I still have one star and I can’t move on to the third star level. I’ve noticed this on other levels too. Am I missing something or is this a bug?