Support rails/rails#13886 by chainging select_rows arguments