Firebase don't like empty property
Handled undefined/null values for firebase