Finishing the objective is not the same as finishing the mission. The gauge is the real measure — and it is not always full when the goal is ticked off.
Watch the gauge in the corner rather than the objective text. If it is not completely filled, the mission is only partly complete, and you will not get the full clear.
The fix is simple: keep doing what the mission asks even after the prompt says you are done. If you are collecting hearts, continue defeating Heartless and the gauge will keep climbing. If you are defeating a set number of enemies, hunt down a few more.
Once the gauge is full, the mission registers as a genuine 100% clear. It costs a handful of extra seconds and makes a real difference to your overall completion figures.