Fix retarded clearning of random databases