Fix database bigint for compliance_check_task and import_task