Got "I refuse to bother search-apnic-not-arin@apnic.net" for 150.164.64.59. Manual whois output includes:
In this case, the correct answer is found with
whois --host whois.afrinic.net 150.164.64.59
Looks like the parsing needs to check for this result, and retry.