Fixed typo.

wrong upper bound in the message. It is 7