Fix CHAT_LASTMESSAGES === 0