Improve zero check.