Code corrected our conditional check for extraction.