Fixed a bug where I was accidentally changing scores of children when I did the max over the structural rules.