Fix possible null-pointer exception when updating max log entries