Fixed 'not equal' operator for criteria