Fixed orderByLastMessage filter