Fix id parsing so spider swiper returns the correct id