Yes, you are probably right. indices has already the extra samples and also is already subsampled, so that it should be used instead of indexing the targets directly.
I’ll observe the linked issue on GitHub, as it should provide a cleaner way of implementing this behavior.