Filter is not working in Bank clearance details

When I place a cursor in bank account field, I want only accounts for company to appear in the drop down list not personal account(now they all appear in the list). Please help the code below is not working.

    frappe.ui.form.on('Bank Clearance Pro', function(frm) {
	    frm.set_query("bank_account", function() {
		    return {
			    filters: {
				    'is_company_account': frm.doc.is_company_account