The family group “sheet” for my father who was married twice, had no children from his first wife, shows both marriages. His profile has dates for both marriages.
Does your profile have dates for both marriages?
The fact that you have no children from the second husband should not matter, unless there is a fault with the programming.
Edit
The profiles of my father and his wives all have different privacy levels, from open to private (red lock).