max_csv_records fix

this small change just allow to change max_per_page in before_filter