Fix for endless loop in SelectWidget

In case when there are no results (this.items.length === 0) 0 is used for modulo (%)
operation which returns NaN. Then i === stopAt condition is never met, so loop goes
forever.

Change-Id: I308e0433b9d74bad5a95608ffc32f0fe50ffef2d