Fix for when tag.text is None