Avoid empty transaction from setting has_one association on new record.