Fix the gid being assigned when importing

Reviewer: Tiff Go

Issue: None