.......PS. [ZBX-8514] adjusted sql query to account for host status when removing discovered host on remove operation