Why does "not in" replace "in" here?