Add contained to assign_matched.