Fixed min op in StoreMessagesIntoTableStore