Check indices