I just tried doing a search on this website and accidentally typed the search term wrong. So I naturally fixed the typo and tried to search again to get the error message saying I had to wait 20 seconds to search again.
In essence I had to wait 20 seconds to fix a typo.

I can understand the purpose of the wait, but I think it should be structured something like this:
First search: immediate
Second search: immediate (in case the reason for doing it again is a typo)
Third & more search: 20 second wait