Replace a for loop with a set intersection test