I think she knew her grandson's worth, but since he's not enough age to get out of the family on his own, she added the clause to make sure her daughter would take care of him until 18 even when she's passed away.
Another thing is her daughter's greed and the grandma knew she would do anything...