Fix small typo leading to a major bug.