Adding slug validation
Validates fix #172