Fix an unneeded comparison with zero.