Allow indexes to be any scalar