Fixed a bug in randomizing the GSF ID