Allow NULL luadata fields to be handled correctly