Fixing ifilter error for collection