Fix missing 'not' and use proper ops lookup