I looked into this and found a typo and some rough code. I've corrected it and uploaded a quick hotfix for you (hopefully you're on PC... Android players will need to wait until the next version update, unfortunately... there's just no quick way to compile a fix). It's in the download section of this page called 'hotfix for max level god crash' or something similar.
It's a replacement for the 01classes.rpy file. Just move the file into your game directory and replace the old version. Restart the game and everything will hopefully work correctly.