Bulk operation issue in Report view

Please check description of the issue here

I have reviewed the code for the report view, and it appears to be a significant task. Therefore, until the issue is resolved, I would like a temporary solution which can be like if the bulk operation is completed or added to the queue, the selected checkbox should be unchecked.

If above is not possible then suggest me another way to temporary fix this issue.

Anyone??

For now I have Intercept AJAX Requests and cleared all the checkbox


/** 
 * Clear all checkboxes on report view once matching url request is fired
*/
$(document).ready(function() {
    // Function to clear all checkboxes
    function clearAllCheckboxes() {
        document.querySelectorAll('.datatable input[type="checkbox"]').forEach(checkbox => {
            checkbox.checked = false;
        });
    }

    // Intercept all AJAX requests
    $.ajaxSetup({
        beforeSend: function(jqXHR, settings) {
            // Check if the request URL matches the desired route
            if (settings.url.includes('frappe.desk.reportview.get')) {
                jqXHR.done(function() {
                    // Clear all checkboxes once the request is completed successfully
                    clearAllCheckboxes();
                });
            }
        }
    });
});