That should be ne not !=, ne for strings != for numbers.