Fix incorrect base_urls_index when it is 1