Fixed checking for active server profile