Check if name is too long