fixed class check for SolariumQuerySubscriber to work with Solarium v2.x / v3.x