main/squark: fix crash in classification of certain urls