Russia's primary concern is keeping Assad in power and the targeting of their air strikes reflects that.

I suspect their view on A-Q and ISS is that if they are causing the West major problems and do not pose and immediate danger to Russian, they will let them continue for the mean time..