Make sure that all indexing uses uints