If selection is undefined, no more error

When I refresh my page after using typahead, the actual selection disappears, yet typeahead expects the previous selection. This patch mitigates this problem by simply making the value an empty string, rather than throwing an exception