Fix the bug with gaps in the class-list due to differences in size among the entries.