Fix JSHint issues
Ensure the embedded records are marked valid when the owner is valid