Add a missing bracket in a foreach loop.