Set selectedIdx to -1 when non-matching value is set on select-one and select-multiple elements