fix report when search ip or prefix was deleted or does not exist

4 jobs for ipam-reports-history-searchparams in 18 seconds (queued for 1 second)