Enter Prior Year Roth IRA Contributions - Roth IRA Contributions prior to 2020

The "Learn More" example in this section appears to me to be correct. However, the prompt "Roth IRA Contributions prior to 2020" is misleading in my case. Here's why. I contributed $24,799 to my Roth IRA in years 2013-2019 (this is the total amount including contributions from all of these years). In 2020, I contributed an additional $3,000 (new grand total for contributions is $27,799), after which I took a distribution of $27,500 (in the year 2020). The way this prompt is worded (Roth IRA Contributions PRIOR to 2020), I should enter "$24,799". However, if I do that, then I will be paying an early withdrawal penalty on $2,701 ($27,500-$24,799). This is not correct though since I contributed $27,799 prior to withdrawing $27,500. I am only withdrawing from my contributions, not from earnings. There should be no penalty. The prompt should instead ask me to enter my total contributions up to 2020 and including 2020 ($27,799), but only up to my withdrawal date. Right? The example seems to show it this way, but the prompt seems to suggest otherwise. ?