storage: Added extended query options to getVariantFrequencyByRegion