The family was detained when they attended a scheduled immigration appointment.