Printing Related Records is Printing "ALL" Records
I have the following script (see attachment ) that was working correctly in the past, but now it is printing all records with the checkbox selected even when the records are from unrelated cases. I've checked the kf_Family ID on all the records (there are only 8) and there are unique ids, but for some reason the script is now printing any child record with the print select checked no matter what the kf_FamilyID.
The only thing I have been working on is the privilege sets and in that case only creating new accounts. It doesn't matter if I'm logged in with full access or a privilege set with limited access, now it will print all records instead of just the related records.