ObjectiveFunction: fix repeat looping for identical Interaction types