Check for undefined, not 0