were engaging in is in the active past continuous. Here it means that they were repeatedly "engaging" in the past, that it were several incidents of "engaging" done by them. I don't think this tense is correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.