Softr Databases: Invalid data can be added when submitting a form with related record

I have a related record field called “Family”. I put it on a form as a hidden field. I then have a url parameter that has the record id of the family.
‘/add-address?family=abc123’
This sets the value of the family field which works great if the id is valid. If it is not it acts like there is a linked record in the addresses table:

But it doesn’t exist in the family table.

I think Softr should validate if the option exists and if it doesn’t then it puts no value for that field.