You could save the hash table to a file, /filter it, manually delete all lines at the top or bottom (depending how you filter it), then load it again. That shouldn't take more than 5 minutes and won't "lock" mIRC while looping.
interesting idea but the downside to that is that I have no idea how to use the /filter command, *goes off to the Help Guide*