You we they had been apologizing. If you get confused about the spelling at the ends of these words you can use the american english spelling for the verbs. I had been apologizing.