Fixed OSD index in osd_disk_details and osd_disk_perf

I have fixed my patch, it correctly works in our environment . Please, check it.
Thank you!