Story 47829153: added check for duplicate slug