Treat undefs as zeroes or empty strings