How can the government ensure that exclusion of ineligible beneficiaries from welfare schemes does not inadvertently deprive genuine beneficiaries?

Recently, a large number of ineligible people were removed from the free ration scheme. I want to analyze what safeguards and transparent processes can be put in place to prevent wrongful exclusion of deserving citizens.