Fixed a logical bug