Fix friendly_id bug.