Cleanup, changed the kill from newestdate to newestadd

Changed the query in prehash