Active users checking fix