Fix undef row parsing