Added the following checks to randomPFNs function:
- limit the number of random PFNs to a maximum of 10k
- do not perform any query for a SE that cannot be found
- do not perform any query for a fileCount <= 0
Added the following checks to randomPFNs function: