More logic updates to parents field, handle string better