Fixed zero != undefined bug.