It's worth noting that the term "who" with a preceding comma often has a different meaning from "that", and the latter term would not substitute. Consider:
- The six friends, who had gone to school together, went to the beach.
- The six friends that had gone to school together went to the beach.
When discussing inanimate objects, the word "who" in the first usage above would be replaced with "which". Replacing the word "that" in the second usage with "who" would be reasonably common usage when discussing people, but comparable replacement with "which" would be less common, especially when the subordinate clause modifies the subject of a sentence. "The six machines which weren't working this morning have been repaired" would read slightly less naturally than "The six machines that weren't working this morning...", though "I have fixed the six machines which weren't working this morning" would be fine.