[HW, TOOLS] fixed a bug, causing incorrect value of max_addr_handles in query_ca...