Make isEligible less complex (green for Travis).