fix iterator initialization for RBTree based indexes