Fixed a stupid comparison bug