client-lib: Fix P11 compliance with empty slots.