It must to be referring to Schotten Baumann conditions. This is actually quite common (to my surprise).
But your point is taken, yes if you don't have a perfect setup, you can, and usually do, get some amount of hydrolysis when trying to make amines from acyl halides.
Its a matter of the setup and conditions. If there is no amine present those conditions will cause full hydrolysis. However with appropriate considerations, you can run an acid halide with an amine in the presence of water and NaOH, usually in the presence of an immiscible organic phase.