(Maint) Fix label provider on 1.8.7

String subscripting works differently on 1.8.7 from 1.9.3.