Fixed a bug resulting from a typo.