Ensure blank cells are returned as 'nil' instead of being omitted