Fix variable to check approved IP list