Fixed a bug in FindAllZeros