Fix queries for releasefiles.