Fix stale-if-error to properly use the stale value for the ttl