Fix error when calling method on non object when filters are disabled.

checkThresholds method tries to check configuration settings which might not be set.