Fix player/clan ID related type problems