Alternative identifiers fixes

Fixes for deletion and public search issues.