Yes, it is done to screen couples so that their future offspring have less chance of inheriting any genetic disorder.
"It is better to be hated for what you are than being loved for what you are not."