I believe I have corrected the problem, planet combat should end properly now.