Fix typo leading to misinterpretation of the doc in the implementation.