Use array set intersection operator & instead of reimplementing it