Debugging retrieveCorpus in semantic_helpers. Need to wipe the database before continuing