Make svn_log_limit more resilient against empty cache entries.