Extract patient IDs from logging table not from landing_zone table
If no validation status is specified in the `/Get_global_logs` endpoint we were extracting the patient IDs from the `landing_zone` table. When anonymization is enabled, the anonymized patient ID is not available in that table and we will therefore miss the logs of the de-identified patient. Here we update the logic such that in case no validation status is provided we extract the distinct patient ID from the `logging` table.