Parser bug fix. Fixing encoding of large enums (> 32k values) + const chunks with NAs (test for NAs was missing so it was being encoded as constant numeric chunk and thus losing/replacing the NAs)