Use the number of categories not levels, which might be zero, for the string list initial size of categories. Signed-off-by: Christian Göttsche <cgzones@googlemail.com>