Fix slug validation