Missed some validity checks in TileID