Add checkIsProgramActive to the rights flushing
Add checkIsProgramActive to the rights flushing

Patch by: Sverre Rabbelier

MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging