Fix bug with buy_classes_forever setting