Hallucinations are a result of the next token selection process, not simply caused by bad RAG. In effect, all LLM generated content is a hallucination, sometimes the hallucinations are useful.
Eliminating “bad” data from your RAG database is not going to fix hallucinations.