"At one time there was a law that said a man couldn't marry his deceased wife's sister, but it was eventually repealed; not till 1907 though."
It's a bit more nuanced than that. The Marriage Act 1835 said that a marriage of close relatives was automatically "void" and not just "voidable". Also, it only applied to England & Wales - not Scotland.
Before 1835, if there was a marriage of close relatives then the case would have to go to the Ecclesiastical Court who would decide on the matter. They would decide if the marriage should be voided (ie was not legally binding). But this often took a long time.
So, in 1835 Parliament decided that every marriage of close relatives would automatically be "void". What this means is that the marriage is not legally binding and is treated as though it never happened:
"And be it further enacted, That all Marriages which shall hereafter be celebrated between Persons within the prohibited Degrees of Consanguinity or Affinity shall be absolutely null and void to all Intents and Purposes whatsoever."
So, they could choose to marry if they wish, but the wedding would be meaningless from any legal or church point of view.
"...a man couldn't marry his deceased wife's sister ...not till 1907 though."
The opposite of this, that a woman couldn't marry her deceased husband's brother was only altered in 1921. The Deceased Brother's Widow's Marriage Act 1921 was a response to all the deaths in the First World War to encourage remarriages - also, incidentally, reducing the war widows pensions and seeking to increase the birth rate.
I will say no more on my thoughts about that!
These two Acts (the brother's and sister's acts) were then repealed by the Marriage Act 1949.
That had a whole long list of rules about which marriages were void and which weren't.
For example, whilst marrying your first cousin was (and is) fine, it was "void" if you married your FIL or your daughter's husband (presumably ex-husband?) or if your DM remarried and then after that you married that guy that would also be void.
This has been updated by various Acts since then and it was only in 2007 that the whole thing about not getting married to your FIL or son in law got repealed.