Don't add empty list items if formatResult return undefined.

I'm using custom formatResult implementation and for some items that I don't want in the list I return undefined... I get an empty space inside dropdown .. I think It should just not add the item at all...