Is my usage of 'had been' correct?

It is a passive voice but I use it all the time. My editors are fine with it. I use Grammarly and it doesn't like the passive aspect of the words however when I tried to change it to a non-passive the sentences sounded jerky.

Hope that helps.