Fix document query to return none when none found and delete
Fix document query to return none when none found and delete

felliott/scrapi,fabianvf/scrapi,fabianvf/scrapi,CenterForOpenScience/scrapi,erinspace/scrapi,mehanig/scrapi,CenterForOpenScience/scrapi,mehanig/scrapi,erinspace/scrapi,felliott/scrapi