Changed so one one wrong length error is reported even if there is more than one.