If online, it shows all previous spouses as spouses and you can't do anything about it except add a comment or a "story".
Some home computer software lets you mark your local copy as an ex or relationship ended.
Really don't worry about it. So long as you have all the dates, it is no problem.