Fix intersection

Fix intersection function, "in" operation only check keys/index in array.