Fix bug in message_count_per_day indexing
Finish trends tab