Added validations to randomPFNs function
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
Edited by Adrian-Eduard Negru