Fix Chat History index