Since 'not in' and 'in' already return boolean values, I forgot to make 'not' return a boolean value! Silly me.