Fixed a mistake. Re #6815.