Fix parameters in check_number_of_calls calls.