Why is TurboTax calculating the new 20% credit for self employed (schedule C net income after business deductions) after deducting the standard deduction?

The definition of  the 20% credit as I understand it is 20% of the qualified business income after deducting all business expenses. TurboTax is calculating the credit after deducting the standard deduction. What is correct?