The first part of the query before not in runs and gives me a list of
not in
You forgot a field before NOT.