Fixes 'not in' operator usage

Change-Id: Ibac9853fc72e2452fa5e2b3a493bd03523faabfb