Fix slug and relationship errors.