Use last message rather than mbid to determine whether to send a message...

....