Fix for #id.cls1 parsing when no classes present

Silly mistake corrected.