Upgrading at 6 stars always loses 2 stars if you fail.

You must have a faulty pointer, you misread what was said on the tooltip, or you were looking at something else.