Correction in search wrapping