Fixed typo that caused bug.