fetchJobNotDeletedWithParentID(with its test) and deleteAll is implemented.