[BUGFIX] Do not add empty attribute values to index

When adding product attribute values as dynamic fields it could happen
that fields would be added to an index document for empty attributes.

Since no conversion was done empty strings where added as integer fields
f.e. leading to documents not being added to the index.