Fix behaviour of cached_title

via @mhl (thanks!) after I'd broken this while resolving merge conflicts.