for k,v in list(searchargs.items()):
        if v is None or v==[]: searchargs.pop(k)