You will have to manually correct the relationship links. You may need to break all the links first and then reform them connecting Fanny to him as his mother and Alexander to her as her father.
When you have a case where the census would lead to erroneous linkages, connect the census to each person separately. Do NOT click on the boxes on the review page to connect anyone automatically. You will have to revisit the census for each person.