Switch to two unordered_sets to track NH and CO HBond status.