I think I caught all the places that executes code using scanRank as the logic parameter and extended it to include 3D scans.  Some might have slipped through the cracks, but I think I found all of them.