Fix bug with convertion structures with spacegroup.