Fixed a typo that was making an assert fail