Fix logic in permissivity check.