Switch node not working

Looks like a duplicate of Switch Node always gives data to first index . Isn’t it?