When searching for example ".pdf", and checking "Limit to current folder", pagination will not respect "Limit to current folder". To verify, click "Next" at the bottom, and you'll paginate on the full resultset, without limiting to current folder.
Quickly checking the code, I guess either adding "limit_search_to_folder" as a list_filter (and dont display it in the classic way) would probably solve it? Or manually integrate the query param in the pagination html part?