[NUCRDBMS-815] Change toString() to cater for null value.