Fixed initial case for calculateNextLead
Haven't switched build systems enough times yet