Revert "add an error message of no matching id was found"

This reverts commit 128fc50550b4528a42115fe0166da4beaaa541f5.

Error message didn't work because counting the matches happens in
a different process.