Fix user input for related records