Fixed 'NOT' operator functionallity