Switch statement failed to match case for index property

i.e. Select node is receiving an input outside of its list.

This should be the accepted answer. Thanks!