Checking last value isnt the same as actual value