Using sanitized local variable

Using the sanitized local variable in getDataItemValueForColumn. This will fix a potential NPE.