Error when choosing a certain amount of cycles

Bug description:

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link: https://replit.com/cycles

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

Replit Profile: https://replit.com/@NathanSmith71