Weird bug when clicking on custom study

The pop-up window asked me to post this information:
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.

Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-09-04 14:48:01

Caught exception:
Traceback (most recent call last):
File “aqt\customstudy.py”, line 40, in
File “aqt\customstudy.py”, line 65, in onRadioChange
AttributeError: ‘Scheduler’ object has no attribute ‘totalNewForCurrentDeck’

Please try the latest version: When problems occur - Frequently Asked Questions