[Debug cmd] improve findPaymentsContaining.