deleteAll now working properly.