Make more explicit the detection of bad messages