The period of 50 years exceeds the normal life of the people who are 31 years old, which makes the marriage void.
The other thing which makes it void is not mentioning a particular period, as according to the question, the period mentioned at the time of the contract was (above 50 years).
Hence, the said contract is void, and she can get married to anyone.