Fix bug when all null data exists - #137