Made use of Indices class for get_indices() fix