Change how slugs are validated in post details model