Fix search
The result of eval should be greater than or equal to zero