Fix session cache state expiry