fix indexin for new Dict syntax

The new Dict syntax broke `indexin`. I think this fix is ok? Should there be a test for this?