Fix new message number validation