Correct default setting of maxlevel. Previously no levels where scanned at all.