Fix geometry insertion type