process only the right set of metadata during bulk update records
During bulk update, even records to which user is unauthorized to have access to were getting processed, resulting in downstream issues when calling cloud functions. To void this, we need to remove those records from being processed from the bulk update method.
This is a fix to address an internal bug raised