fix up index/position type for calls of various osrfList* functions