Fix classifier model save function when null rejection is enabled