Changed last message timestamp to int from string