Fix `equals` bug in `Message` created by 6790c6f

Method did not consider the new `id` field.