Return `0` in the single file/page picker if no selection has been made (see #6284)