only show empty_value for attr table if actually empty

Applying @jpmckinney's PR #1479 which never made it in.