9 Years Ago
Prevent infinite loop in finding best goal recursively.