lucene: Fix time ordering