Fix for determining instance type in Permission