Fixed negative GSF ID

Fixes #1473