Added credit correction for maximum credit with history.
Made it possible to delete of all classes of a center/batch