fixing usedPersonAttrs

when a new person is selected the usedPersonAttrs must be []. This missing command was changing the person in the middle of the loop, in the checkPersonIndex.