Tandem pairing in heavy-fermion superconductors.