OEMR 5.0.2 Merge Error

Samething on Development Demo 5.0.3-dev

UPDATE clinical_rules_log SET pid = ? WHERE pid = ? (1)
UPDATE employer_data SET pid = ? WHERE pid = ? (1)
DELETE FROM history_data WHERE pid = ? (1)
DELETE FROM insurance_data WHERE pid = ? (3)

Query Error

ERROR: query failed: SHOW COLUMNS FROM keys WHERE Field LIKE ‘pid’ OR Field LIKE ‘patient_id’

Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘keys WHERE Field LIKE ‘pid’ OR Field LIKE ‘patient_id’’ at line 1

/var/www/localhost/htdocs/a/openemr/interface/patient_file/merge_patients.php at 216:sqlQuery