bug fix for results_range where post numbers were incorrect