fixes bug with pruning and contemporaries