fixed flask-paginate not taking into account arguments that are passed between slashes