Fix mAllowedKeyIds