Fix 'Undefined offset: 0' error for null values.

Tested by testRenderViaExtractWithNullValues method. Now, nulls are shown as 'NULL' in the exported CSV.

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>