Fix: return last cached result for ttl=-1 (fix #174)