Only send when data is defined and not null