Fixed the less than test