Report on: cart emptying or checkout reporting cart is empty

I had this problem (and it was for awhile apparently) and commented out the session but enabled the line above validating the IP instead. Currently running 3.0.6