Removing duplicate loop

There appeared to be a duplicate loop being run, so I merged the two. Hopefully, there wasn't a special reason to do that!