Definitely fixed loop in search