Slight tweak of sandboxpolicy to improve efficiency of restricted function reject. [As suggested by sandbox author LIU Yu.]