Fix a bug in id_loop()

search() was executed with alpha < -VALUE_INFINITE