Input (grade 7): Afterwards it was decided that she needed to move to a nursing home.
Output (grade 6): After that, the family thought that she needed to move to a nursing home.