Fixed error in gallery where several had same ID.