Fixed a condition that was always true