Check for empty values when printing table