bug fixes in patient_files summary directory (#1964)