Quick fix in heuristics/objective_functions.py