Be sure to compare integers for last message ID