Fix null handling in reader GetValue