Fix: integer hyperparameters did not check the type of the default value