Fixed support for querying log files older than the current one