Fix received message duplication.

Change-Id: I0617e130b750d797a5a4b18e7af7c788eff19080