Since total_seconds() just returns a positive number with the difference we have to make sure we're actually still before the expiry time.
Unfortunately the history from before this commit is lost to time. And that's probably for the best.