Trying and failing to update the find last message logic