mod_filestore: fix queue count query for move-to-local