Session expiration bug fix 1

Must compare to time delta