fixed ordered_logistic_rng indexing