Fix glob looping