fixed where/filter in getBundles