Fix filter to check last message date in thread.