have you tried to rebuild the database from the ground in a dev env?