Fixed the last outoing message lookup