fileserver.*_list*: ensure prefix filtering

Should fix #7404
Merge pull request #7898 from ze42/develop

fileserver.*_list*: ensure prefix filtering