[qtdocgallery] Exclude unavailable files from query results.