Fixed typo with is_unit(parent_xblock)