Bugfix in CollectObjective