Search for 0 instead of -1.