During battles there are times when the clock hits zero and yet the action doesn't stop. Thus enabling me to get three stars, however they don't count. This even happens when three starring a base with a second left.