Fix slug field handling