Bug in search solved