Remove foreach pull code as it was breaking things.