For benefit of future searchers for this problem, the work-around is mentioned in
https://forums.mirc.com/ubbthreads.php/topics/268329/re-query-issues-with-bnc#Post268329

... though the mircscripts.net in the url needs to be edited to mircscripts.info

Raccoon's script works by intercepting the 005 message received from the server and pruning out the keywords not supported. For this situation, both CPRIVMSG and CNOTICE needs to remain in the script, but the NAMESX and WHOX might be taken out.